package com.lzq.mq.broker.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 全局配置
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GlobalProperties {

    /**
     * 消息队列安装的根目录
     */
    private String mqHome;

    /**
     * broker模式
     */
    private String brokerMode;

    /**
     * broker安装目录
     */
    private String brokerHome;

    /**
     * 当前broker的端口
     */
    private Integer brokerPort;

    /**
     * nameserver服务器信息
     */
    private String nameServerIp;

    private Integer nameServerPort;
    private String nameServerUser;
    private String nameServerPassword;
    // 负载均衡策略
    private String reBalanceStrategy;
    /**
     * broker角色
     * 集群配置相关属性
     */
    private String brokerClusterMode;
    private String brokerClusterRole;
    private String brokerClusterGroup;

}
